﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.*"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="baseURL" value="${base}"/>
<c:set var="ctx" value="${base}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>供应商门户首页</title>
<link href="${baseURL}/css/login.css" rel="stylesheet" type="text/css" />
<script src="${baseURL}/js/common.js"></script>
<script src="${baseURL}/js/jquery-1.4.4.min.js"></script>
</head>

<body>
<div class="header">
  <div class="w">
      <div class="logo"></div>
	  <div id='logo-title'>
		<span>格云社区供应商运营系统</span>
	  </div>
 </div>
</div>
<form method="post" name="saveForm" action="${baseURL}/supplierAdmin/login" onsubmit="return checkInput()">
<div class="banner">
	<div id="banner" class='w'>
		<div class="logind" >
			<div class='login'>
				<div id='login-title'>
					<span>供应商登录</span>
				</div>
				<div id='login-content'>
					<table >
						<tr>
							<td style='height:90px;'>
								<div>
									<div class='account'>
									</div>
									<div class='account1'>
										<input name="username" type="text" class="input" id="username" size="16" maxlength="16"/>
									</div>
									<div style='clear:both'>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td style='height:30px;'>
								<div >
									<div class='passwd'>
									</div>
									<div class='passwd1'>
										<input name="pw" type="password" class="input" id="password" size="16" maxlength="16"/>
									</div>
									<div style='clear:both'>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td style="padding-left:0px"><font color="red">${msg}</font><br/>
								<input name="Submit" class='loginbtn' type="submit" value="登录"/>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<div id='welcome' ><span class='welcome'>欢迎进入格云社区供应商运营系统&nbsp;&nbsp;</span>
		</div>

		<div style='clear:both'></div>
	</div>
</div>
</form>
<script>
document.getElementById("username").focus();
function checkInput(){
	username = document.getElementById("username");
	if(username.value==""){
		alert("请输入用户名。");
		username.focus();
		return false;
	}
	password = document.getElementById("password");
	if(password.value==""){
		alert("请输入密码。");
		password.focus();
		return false;
	}
	return true;
}
</script>
<div class="bottom">
	<p class="version">
		@2000-2014 天津格云电子商务有限公司 版权所有<br/>
		<a href="http://www.miitbeian.gov.cn/" target="_blank">津ICP备14005664号</a>
	</p>
</div>
</body>
</html>